package com.systop.service;

import com.aliyun.oss.model.OSSObjectSummary;
import com.systop.utils.FileUploadResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.OutputStream;
import java.util.List;

public interface OSSFileManage {
    //文件上传
    public FileUploadResult upload(MultipartFile uploadFile);
    //轮播图文件上传
    public FileUploadResult bannerUpload(MultipartFile uploadFile);
    //查看文件列表
    public List<OSSObjectSummary> list();
    //删除文件
    public FileUploadResult delete(String objectName);
}
